// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import VueRouter from 'vue-router'
import Mint from 'mint-ui';
import 'mint-ui/lib/style.css'
import routerold from './router'
import './assets/icon/iconfont.css'
import Axios from 'axios'

Vue.config.productionTip = false
Vue.use(VueRouter)
Vue.use(Mint)

/* const intsert = Axios.create({
  baseURL:'http://39.97.33.178/api/'
}) */
// Vue.prototype.$http = intsert;

Vue.prototype.$http = Axios;


const routerleg = new VueRouter({
  routes:routerold,
  linkActiveClass:"active"
})

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router:routerleg,
  components: { App },
  template: '<App/>'
})
